package com.jmu.medicineknows.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jmu.medicineknows.dto.NewsDto;
import com.jmu.medicineknows.entity.NewsInfo;
import com.jmu.medicineknows.entity.Result;

/**
 * @author ACER
 */
public interface NewsService extends IService<NewsInfo> {
    /**
     * 查询新闻数据
     * @param newsDto
     * @return
     */
    Result newsList(NewsDto newsDto);

    Result insertNews(NewsInfo newsInfo);

    Result deleteNews(NewsInfo newsInfo);

    Result updateNews(NewsInfo newsInfo);

    Result selectNews(NewsDto newsDto);


}
